package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_type")
public class Type implements Serializable {
    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    /**
     * 房型名称
     */
    @TableField(value = "type_name")
    private String typeName;

    /**
     * 面积
     */
    @TableField(value = "type_area")
    private Double typeArea;

    /**
     * 窗户
     */
    @TableField(value = "type_win")
    private Integer typeWin;

    /**
     * 床型
     */
    @TableField(value = "type_bed")
    private Integer typeBed;

    /**
     * 房型
     */
    @TableField(value = "type_room")
    private Integer typeRoom;

    /**
     * 0:待审核1：通过2：驳回
     */
    @TableField(value = "type_status")
    private String typeStatus;

    @TableField(value = "type_content")
    private String typeContent;
    @TableField(exist = false)
    private String winName;
    @TableField(exist = false)
    private String bedName;
    @TableField(exist = false)
    private String roomName;

    private static final long serialVersionUID = 1L;
}